﻿Public Class ThongTinNhaBUS

    Private empDAL As ThongTinNhaDAO

    Public Sub New()
        empDAL = New ThongTinNhaDAO
    End Sub

    Public Function Getdata() As List(Of ThongTinNhaDTO)
        Return empDAL.Getdata()
    End Function

    Public Function IsUpTT(ByVal emp As ThongTinNhaDTO, ByVal f As Boolean) As Boolean
        Return empDAL.IsUpTT(emp, f)
    End Function

    Public Function DeleteTT(ByVal emp As ThongTinNhaDTO)
        Return empDAL.DeleteTT(emp)
    End Function

End Class
